Skip to content

overlay profiles: Mask USE=debuginfod#3796

Merged
krnowak merged 3 commits intomainfrom
krnowak/mask-debuginfod
Mar 11, 2026
Merged

overlay profiles: Mask USE=debuginfod#3796
krnowak merged 3 commits intomainfrom
krnowak/mask-debuginfod

Conversation

@krnowak
Copy link
Member

@krnowak krnowak commented Mar 6, 2026

CI: http://localhost:8080/job/container/job/packages_all_arches/7522/cldsv

In last weekly updates, binutils, elfutils and gdb got their USE=debuginfod enabled by default. I wanted to keep the disabled by adding entries to package.use in overlay profiles, but somehow these things insist on being enabled and I forgot to verify if they are indeed disabled. Noticed when working on selinux coverage as it got some dep cycle involving elfutils with debuginfod.

Put the recalcitrant USE flags into package.use.mask instead.

@krnowak krnowak requested a review from a team as a code owner March 6, 2026 15:56
@krnowak krnowak marked this pull request as draft March 6, 2026 16:00
Copy link
Contributor

@chewi chewi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It didn't work before because it's dev-libs/elfutils, not dev-util.

@krnowak
Copy link
Member Author

krnowak commented Mar 6, 2026

It didn't work before because it's dev-libs/elfutils, not dev-util.

Bah. And just noticed I was still getting the same dep cycle in the selinux coverage branch. Thanks for spotting.

@krnowak
Copy link
Member Author

krnowak commented Mar 6, 2026

crossdev failed, will have a look on Monday.

@chewi
Copy link
Contributor

chewi commented Mar 10, 2026

Perhaps it would be better to disable the flag globally.

krnowak added 3 commits March 10, 2026 17:09
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
The warning was:

gcc-config: the --nocolor option is deprecated by gentoo-functions;
please set NO_COLOR=1 instead

Probably started showing up after the recent update of
gentoo-functions.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Easier that way and surely will work also for packages from crossdev
overlay.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
@krnowak krnowak force-pushed the krnowak/mask-debuginfod branch from e298d6f to 4023d14 Compare March 10, 2026 16:09
@krnowak
Copy link
Member Author

krnowak commented Mar 10, 2026

Perhaps it would be better to disable the flag globally.

That's what I did in the end. Let's see if it actually works (I kicked off the CI). I also pushed a commit to silence a warning about --nocolor being deprecated.

@krnowak
Copy link
Member Author

krnowak commented Mar 10, 2026

From http://localhost:8080/job/container/job/sdk/2547/consoleText:

[2026-03-10T16:24:29.484Z] >>> Merging sys-libs/timezone-data-2025c to /tmp/stage1root/
[2026-03-10T16:24:29.484Z] Sandboxed process killed by signal: Segmentation fault
[2026-03-10T16:24:29.484Z] �[31;01m * �[39;49;00mThe ebuild phase 'preinst' has been killed by signal 11.
[2026-03-10T16:24:29.484Z] !!! post preinst failed; exiting.
[2026-03-10T16:24:29.484Z] !!! FAILED preinst: 1

wtf

Trying again.

@krnowak krnowak marked this pull request as ready for review March 11, 2026 12:10
@krnowak krnowak merged commit b3f3561 into main Mar 11, 2026
4 of 5 checks passed
@krnowak krnowak deleted the krnowak/mask-debuginfod branch March 11, 2026 12:12
@krnowak
Copy link
Member Author

krnowak commented Mar 11, 2026

CI passed.

@krnowak
Copy link
Member Author

krnowak commented Mar 11, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants